/*
 * Copyright (C) 2019-2020 Alibaba Group Holding Limited
 */

#include <aos/debug.h>
#include <aos/cli.h>

extern void cli_reg_cmd_free(void);
extern void cli_reg_cmd_ping(void);
extern void cli_reg_cmd_ifconfig(void);
extern void cli_reg_cmd_kvtool(void);
extern void cli_reg_cmd_sysinfo(void);
extern void cli_reg_cmd_log(void);
extern void dumpsys_cli_init(void);

void board_cli_init(void)
{
    aos_cli_init();

    cli_reg_cmd_ping();
    cli_reg_cmd_free();
    cli_reg_cmd_kvtool();
    cli_reg_cmd_sysinfo();
    cli_reg_cmd_log();
    dumpsys_cli_init();
}

extern void cli_reg_cmd_wifi_mac(void);
extern void cli_reg_cmd_active_awss(void);
extern void cli_reg_cmd_dev_ap(void);
extern void cli_reg_cmd_ble_awss(void);
extern void cli_reg_cmd_linkkey(void);
extern void cli_reg_cmd_iperf(void);
extern void cli_reg_cmd_ifconfig(void);
extern void cli_reg_cmd_netmgr(void);
extern void cli_reg_cmd_reset(void);
extern void cli_reg_cmd_bt(void);

void app_cli_reg_cmds(void)
{
    cli_reg_cmd_wifi_mac();
    cli_reg_cmd_active_awss();
    cli_reg_cmd_dev_ap();
    cli_reg_cmd_ble_awss();
    cli_reg_cmd_linkkey();
    cli_reg_cmd_iperf();
    cli_reg_cmd_ifconfig();
    cli_reg_cmd_netmgr();
    cli_reg_cmd_reset();
    cli_reg_cmd_bt();
}